package com.cs.base.adapter;

import android.view.View;

import androidx.recyclerview.widget.RecyclerView;
import androidx.viewbinding.ViewBinding;

/**
 * 文件名:    BaseViewHolder
 * 描述:     TODO 结合dataBinding的RecyclerView Holder
 */

public final class BaseViewHolder<VB extends ViewBinding> extends RecyclerView.ViewHolder {
    private VB binding;
    public BaseViewHolder(View itemView) {
        super(itemView);
    }

    public VB getBinding() {
        return binding;
    }

    public void setBinding(VB binding) {
        this.binding = binding;
    }
}
